<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<pe:mcml>
    <script refresh="true" type="text/npl" src="ActRedhat.lua"><![CDATA[
        local ActRedhat = NPL.load("(gl)script/apps/Aries/Creator/Game/Tasks/ActRedhat/ActRedhat.lua")
        ActRedhat.OnInit()
        function ClosePage()
            ActRedhat.OnClickOk()
        end
        function GetDesc1()
            return ActRedhat.getHatDescDefault()
        end

        function GetDesc2()
            return ActRedhat.getHatDescShanghai()
        end

        function GetDesc3()
            return ActRedhat.getHatDescLiyuan()
        end
        
        ]]></script>
    <div style="width: 470px;height: 350px; background: url(Texture/Aries/Creator/keepwork/ActRedhat/gongxi_474X351_32bits.png#0 0 470 350);">
        
        <div style="position: relative;margin-top: 100px; margin-left: 180px;width: 98px;height: 98px; background: url(Texture/Aries/Creator/keepwork/ActRedhat/wupingdi_60X60_32bits.png#0 0 40 40:8 8 8 8 );">
            <div style="margin-left: -10px;margin-top: 16px;width: 128;height: 64; background: url(Texture/Aries/Creator/keepwork/items/item_90000_32bits.png);"></div>
        </div>
        <div style="margin-left: 14px;margin-top: 200px;">            
            <div style="position:relative; margin-left: 70px; font-size: 14px; base-font-size: 14px; color: #ffffff;"><%="恭喜获得爷爷的帽子X1，当前拥有的帽子总数为:"%></div>
            <div style="position:relative; margin-left: 140px; margin-top: 18px; font-size: 14px; base-font-size: 14px; color: #ffffff;"><%=GetDesc1()%></div>
            <div style="position:relative; margin-left: 140px; margin-top: 34px;font-size: 14px; base-font-size: 14px; color: #ffffff;"><%=GetDesc2()%></div>
            <div style="position:relative; margin-left: 140px; margin-top: 50px;font-size: 14px; base-font-size: 14px; color: #ffffff;"><%=GetDesc3()%></div>
            <input type="button" class="" value="确定" style="font-size: 30px ;base-font-size: 30px ; font-weight: bold;margin-left:136px;margin-top: 80px; width:180px;height:60px;background: url(Texture/Aries/Creator/keepwork/Window/button/btn_huangse_32bits.png#0 0 38 64:16 16 16 16)" onclick="ClosePage()"/>
        </div>        
    </div>
</pe:mcml>
</body>
</html>